package com.ybkj.daijia.server.dockingsupervise.zhuanche;

import java.io.Serializable;
import java.util.Date;

public class SjbaMessage implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    private String driverName;
    private String driverIdCode;
    private String driverTel;
    private String vehicleLicense;
    private String driverStatus;
    private String licenceScan;
    private Date licenceStartDate;
    private Date licenceEndDate;
    private Integer marriage;
    private String languageLevel;
    private Date conStartDate;
    private Date conEndDate;
    private String telType;
    private String telServiceName;
    private String version;
    private String mapType;
    private String emergencyContact;
    private String emergencyTel;
    private String emergencyAddr;
    private Integer fullTimeDriver;
    private String driverCensus;
    private String appKey;
    private Date created;
    private Date updated;
    //临时字段
    private int address;
    private String driverGender;
    private int driverBirthday;
    private String driverNationality;
    private String driverNation;
    private String driverMaritalStatus;
    private String driverLanguageLevel;
    private String driverEducation;
    private String driverContactAddress;
    private int getDriverLicenseDate;
    private String certificateNo;
    private int taxiDriver;
    private int networkCarIssueDate;
    private int getNetworkCarProofDate;
    private int networkCarProofOn;
    private int networkCarProofOff;
    private int registerDate;
    private int commercialType;
    private String contractCompany;
    private String licenseId;
    private String networkCarIssueOrganization;
    private int state;
    private int flag;
    private String type = Type.MOREQ_SJBA;

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public String getDriverGender() {
        return driverGender;
    }

    public void setDriverGender(String driverGender) {
        this.driverGender = driverGender;
    }

    public int getDriverBirthday() {
        return driverBirthday;
    }

    public void setDriverBirthday(int driverBirthday) {
        this.driverBirthday = driverBirthday;
    }

    public String getDriverNationality() {
        return driverNationality;
    }

    public void setDriverNationality(String driverNationality) {
        this.driverNationality = driverNationality;
    }

    public String getDriverNation() {
        return driverNation;
    }

    public void setDriverNation(String driverNation) {
        this.driverNation = driverNation;
    }

    public String getDriverMaritalStatus() {
        return driverMaritalStatus;
    }

    public void setDriverMaritalStatus(String driverMaritalStatus) {
        this.driverMaritalStatus = driverMaritalStatus;
    }

    public String getDriverLanguageLevel() {
        return driverLanguageLevel;
    }

    public void setDriverLanguageLevel(String driverLanguageLevel) {
        this.driverLanguageLevel = driverLanguageLevel;
    }

    public String getDriverEducation() {
        return driverEducation;
    }

    public void setDriverEducation(String driverEducation) {
        this.driverEducation = driverEducation;
    }

    public String getDriverContactAddress() {
        return driverContactAddress;
    }

    public void setDriverContactAddress(String driverContactAddress) {
        this.driverContactAddress = driverContactAddress;
    }

    public int getGetDriverLicenseDate() {
        return getDriverLicenseDate;
    }

    public void setGetDriverLicenseDate(int getDriverLicenseDate) {
        this.getDriverLicenseDate = getDriverLicenseDate;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public void setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
    }

    public int getTaxiDriver() {
        return taxiDriver;
    }

    public void setTaxiDriver(int taxiDriver) {
        this.taxiDriver = taxiDriver;
    }

    public int getNetworkCarIssueDate() {
        return networkCarIssueDate;
    }

    public void setNetworkCarIssueDate(int networkCarIssueDate) {
        this.networkCarIssueDate = networkCarIssueDate;
    }

    public int getGetNetworkCarProofDate() {
        return getNetworkCarProofDate;
    }

    public void setGetNetworkCarProofDate(int getNetworkCarProofDate) {
        this.getNetworkCarProofDate = getNetworkCarProofDate;
    }

    public int getNetworkCarProofOn() {
        return networkCarProofOn;
    }

    public void setNetworkCarProofOn(int networkCarProofOn) {
        this.networkCarProofOn = networkCarProofOn;
    }

    public int getNetworkCarProofOff() {
        return networkCarProofOff;
    }

    public void setNetworkCarProofOff(int networkCarProofOff) {
        this.networkCarProofOff = networkCarProofOff;
    }

    public int getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(int registerDate) {
        this.registerDate = registerDate;
    }

    public int getCommercialType() {
        return commercialType;
    }

    public void setCommercialType(int commercialType) {
        this.commercialType = commercialType;
    }

    public String getContractCompany() {
        return contractCompany;
    }

    public void setContractCompany(String contractCompany) {
        this.contractCompany = contractCompany;
    }

    public String getLicenseId() {
        return licenseId;
    }

    public void setLicenseId(String licenseId) {
        this.licenseId = licenseId;
    }

    public String getNetworkCarIssueOrganization() {
        return networkCarIssueOrganization;
    }

    public void setNetworkCarIssueOrganization(String networkCarIssueOrganization) {
        this.networkCarIssueOrganization = networkCarIssueOrganization;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName == null ? null : driverName.trim();
    }

    public String getDriverIdCode() {
        return driverIdCode;
    }

    public void setDriverIdCode(String driverIdCode) {
        this.driverIdCode = driverIdCode == null ? null : driverIdCode.trim();
    }

    public String getDriverTel() {
        return driverTel;
    }

    public void setDriverTel(String driverTel) {
        this.driverTel = driverTel == null ? null : driverTel.trim();
    }

    public String getVehicleLicense() {
        return vehicleLicense;
    }

    public void setVehicleLicense(String vehicleLicense) {
        this.vehicleLicense = vehicleLicense == null ? null : vehicleLicense.trim();
    }

    public String getDriverStatus() {
        return driverStatus;
    }

    public void setDriverStatus(String driverStatus) {
        this.driverStatus = driverStatus;
    }

    public String getLicenceScan() {
        return licenceScan;
    }

    public void setLicenceScan(String licenceScan) {
        this.licenceScan = licenceScan == null ? null : licenceScan.trim();
    }

    public Date getLicenceStartDate() {
        return licenceStartDate;
    }

    public void setLicenceStartDate(Date licenceStartDate) {
        this.licenceStartDate = licenceStartDate;
    }

    public Date getLicenceEndDate() {
        return licenceEndDate;
    }

    public void setLicenceEndDate(Date licenceEndDate) {
        this.licenceEndDate = licenceEndDate;
    }

    public Integer getMarriage() {
        return marriage;
    }

    public void setMarriage(Integer marriage) {
        this.marriage = marriage;
    }

    public String getLanguageLevel() {
        return languageLevel;
    }

    public void setLanguageLevel(String languageLevel) {
        this.languageLevel = languageLevel == null ? null : languageLevel.trim();
    }

    public Date getConStartDate() {
        return conStartDate;
    }

    public void setConStartDate(Date conStartDate) {
        this.conStartDate = conStartDate;
    }

    public Date getConEndDate() {
        return conEndDate;
    }

    public void setConEndDate(Date conEndDate) {
        this.conEndDate = conEndDate;
    }

    public String getTelType() {
        return telType;
    }

    public void setTelType(String telType) {
        this.telType = telType == null ? null : telType.trim();
    }

    public String getTelServiceName() {
        return telServiceName;
    }

    public void setTelServiceName(String telServiceName) {
        this.telServiceName = telServiceName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public String getMapType() {
        return mapType;
    }

    public void setMapType(String mapType) {
        this.mapType = mapType == null ? null : mapType.trim();
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact == null ? null : emergencyContact.trim();
    }

    public String getEmergencyTel() {
        return emergencyTel;
    }

    public void setEmergencyTel(String emergencyTel) {
        this.emergencyTel = emergencyTel == null ? null : emergencyTel.trim();
    }

    public String getEmergencyAddr() {
        return emergencyAddr;
    }

    public void setEmergencyAddr(String emergencyAddr) {
        this.emergencyAddr = emergencyAddr == null ? null : emergencyAddr.trim();
    }

    public Integer getFullTimeDriver() {
        return fullTimeDriver;
    }

    public void setFullTimeDriver(Integer fullTimeDriver) {
        this.fullTimeDriver = fullTimeDriver;
    }

    public String getDriverCensus() {
        return driverCensus;
    }

    public void setDriverCensus(String driverCensus) {
        this.driverCensus = driverCensus == null ? null : driverCensus.trim();
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey == null ? null : appKey.trim();
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SjbaMessage other = (SjbaMessage) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDriverName() == null ? other.getDriverName() == null
            : this.getDriverName().equals(other.getDriverName()))
            && (this.getDriverIdCode() == null ? other.getDriverIdCode() == null
            : this.getDriverIdCode().equals(other.getDriverIdCode()))
            && (this.getDriverTel() == null ? other.getDriverTel() == null
            : this.getDriverTel().equals(other.getDriverTel()))
            && (this.getVehicleLicense() == null ? other.getVehicleLicense() == null
            : this.getVehicleLicense().equals(other.getVehicleLicense()))
            && (this.getDriverStatus() == null ? other.getDriverStatus() == null
            : this.getDriverStatus().equals(other.getDriverStatus()))
            && (this.getLicenceScan() == null ? other.getLicenceScan() == null
            : this.getLicenceScan().equals(other.getLicenceScan()))
            && (this.getLicenceStartDate() == null ? other.getLicenceStartDate() == null
            : this.getLicenceStartDate().equals(other.getLicenceStartDate()))
            && (this.getLicenceEndDate() == null ? other.getLicenceEndDate() == null
            : this.getLicenceEndDate().equals(other.getLicenceEndDate()))
            && (this.getMarriage() == null ? other.getMarriage() == null
            : this.getMarriage().equals(other.getMarriage()))
            && (this.getLanguageLevel() == null ? other.getLanguageLevel() == null
            : this.getLanguageLevel().equals(other.getLanguageLevel()))
            && (this.getConStartDate() == null ? other.getConStartDate() == null
            : this.getConStartDate().equals(other.getConStartDate()))
            && (this.getConEndDate() == null ? other.getConEndDate() == null
            : this.getConEndDate().equals(other.getConEndDate()))
            && (this.getTelType() == null ? other.getTelType() == null
            : this.getTelType().equals(other.getTelType()))
            && (this.getTelServiceName() == null ? other.getTelServiceName() == null
            : this.getTelServiceName().equals(other.getTelServiceName()))
            && (this.getVersion() == null ? other.getVersion() == null
            : this.getVersion().equals(other.getVersion()))
            && (this.getMapType() == null ? other.getMapType() == null
            : this.getMapType().equals(other.getMapType()))
            && (this.getEmergencyContact() == null ? other.getEmergencyContact() == null
            : this.getEmergencyContact().equals(other.getEmergencyContact()))
            && (this.getEmergencyTel() == null ? other.getEmergencyTel() == null
            : this.getEmergencyTel().equals(other.getEmergencyTel()))
            && (this.getEmergencyAddr() == null ? other.getEmergencyAddr() == null
            : this.getEmergencyAddr().equals(other.getEmergencyAddr()))
            && (this.getFullTimeDriver() == null ? other.getFullTimeDriver() == null
            : this.getFullTimeDriver().equals(other.getFullTimeDriver()))
            && (this.getDriverCensus() == null ? other.getDriverCensus() == null
            : this.getDriverCensus().equals(other.getDriverCensus()))
            && (this.getAppKey() == null ? other.getAppKey() == null
            : this.getAppKey().equals(other.getAppKey()))
            && (this.getCreated() == null ? other.getCreated() == null
            : this.getCreated().equals(other.getCreated()))
            && (this.getUpdated() == null ? other.getUpdated() == null
            : this.getUpdated().equals(other.getUpdated()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDriverName() == null) ? 0 : getDriverName().hashCode());
        result = prime * result + ((getDriverIdCode() == null) ? 0 : getDriverIdCode().hashCode());
        result = prime * result + ((getDriverTel() == null) ? 0 : getDriverTel().hashCode());
        result =
            prime * result + ((getVehicleLicense() == null) ? 0 : getVehicleLicense().hashCode());
        result = prime * result + ((getDriverStatus() == null) ? 0 : getDriverStatus().hashCode());
        result = prime * result + ((getLicenceScan() == null) ? 0 : getLicenceScan().hashCode());
        result = prime * result + ((getLicenceStartDate() == null) ? 0
            : getLicenceStartDate().hashCode());
        result =
            prime * result + ((getLicenceEndDate() == null) ? 0 : getLicenceEndDate().hashCode());
        result = prime * result + ((getMarriage() == null) ? 0 : getMarriage().hashCode());
        result =
            prime * result + ((getLanguageLevel() == null) ? 0 : getLanguageLevel().hashCode());
        result = prime * result + ((getConStartDate() == null) ? 0 : getConStartDate().hashCode());
        result = prime * result + ((getConEndDate() == null) ? 0 : getConEndDate().hashCode());
        result = prime * result + ((getTelType() == null) ? 0 : getTelType().hashCode());
        result =
            prime * result + ((getTelServiceName() == null) ? 0 : getTelServiceName().hashCode());
        result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode());
        result = prime * result + ((getMapType() == null) ? 0 : getMapType().hashCode());
        result = prime * result + ((getEmergencyContact() == null) ? 0
            : getEmergencyContact().hashCode());
        result = prime * result + ((getEmergencyTel() == null) ? 0 : getEmergencyTel().hashCode());
        result =
            prime * result + ((getEmergencyAddr() == null) ? 0 : getEmergencyAddr().hashCode());
        result =
            prime * result + ((getFullTimeDriver() == null) ? 0 : getFullTimeDriver().hashCode());
        result = prime * result + ((getDriverCensus() == null) ? 0 : getDriverCensus().hashCode());
        result = prime * result + ((getAppKey() == null) ? 0 : getAppKey().hashCode());
        result = prime * result + ((getCreated() == null) ? 0 : getCreated().hashCode());
        result = prime * result + ((getUpdated() == null) ? 0 : getUpdated().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", driverName=").append(driverName);
        sb.append(", driverIdCode=").append(driverIdCode);
        sb.append(", driverTel=").append(driverTel);
        sb.append(", vehicleLicense=").append(vehicleLicense);
        sb.append(", driverStatus=").append(driverStatus);
        sb.append(", licenceScan=").append(licenceScan);
        sb.append(", licenceStartDate=").append(licenceStartDate);
        sb.append(", licenceEndDate=").append(licenceEndDate);
        sb.append(", marriage=").append(marriage);
        sb.append(", languageLevel=").append(languageLevel);
        sb.append(", conStartDate=").append(conStartDate);
        sb.append(", conEndDate=").append(conEndDate);
        sb.append(", telType=").append(telType);
        sb.append(", telServiceName=").append(telServiceName);
        sb.append(", version=").append(version);
        sb.append(", mapType=").append(mapType);
        sb.append(", emergencyContact=").append(emergencyContact);
        sb.append(", emergencyTel=").append(emergencyTel);
        sb.append(", emergencyAddr=").append(emergencyAddr);
        sb.append(", fullTimeDriver=").append(fullTimeDriver);
        sb.append(", driverCensus=").append(driverCensus);
        sb.append(", appKey=").append(appKey);
        sb.append(", created=").append(created);
        sb.append(", updated=").append(updated);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
